3.241 \(\int \frac{x \log (c x^2)}{1-c x^2} \, dx\)

Optimal. Leaf size=17 \[ \frac{\text{PolyLog}\left (2,1-c x^2\right )}{2 c} \]

[Out]

PolyLog[2, 1 - c*x^2]/(2*c)

________________________________________________________________________________________

Rubi [A]  time = 0.0434263, antiderivative size = 17, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.111, Rules used = {2336, 2315} \[ \frac{\text{PolyLog}\left (2,1-c x^2\right )}{2 c} \]

Antiderivative was successfully verified.

[In]

Int[(x*Log[c*x^2])/(1 - c*x^2),x]

[Out]

PolyLog[2, 1 - c*x^2]/(2*c)

Rule 2336

Int[((a_.) + Log[(c_.)*(x_)^(n_)]*(b_.))^(p_.)*((f_.)*(x_))^(m_.)*((d_) + (e_.)*(x_)^(r_))^(q_.), x_Symbol] :>
 Dist[f^m/n, Subst[Int[(d + e*x)^q*(a + b*Log[c*x])^p, x], x, x^n], x] /; FreeQ[{a, b, c, d, e, f, m, n, q, r}
, x] && EqQ[m, r - 1] && IGtQ[p, 0] && (IntegerQ[m] || GtQ[f, 0]) && EqQ[r, n]

Rule 2315

Int[Log[(c_.)*(x_)]/((d_) + (e_.)*(x_)), x_Symbol] :> -Simp[PolyLog[2, 1 - c*x]/e, x] /; FreeQ[{c, d, e}, x] &
& EqQ[e + c*d, 0]

Rubi steps

\begin{align*} \int \frac{x \log \left (c x^2\right )}{1-c x^2} \, dx &=\frac{1}{2} \operatorname{Subst}\left (\int \frac{\log (c x)}{1-c x} \, dx,x,x^2\right )\\ &=\frac{\text{Li}_2\left (1-c x^2\right )}{2 c}\\ \end{align*}

Mathematica [A]  time = 0.0043547, size = 17, normalized size = 1. \[ \frac{\text{PolyLog}\left (2,1-c x^2\right )}{2 c} \]

Antiderivative was successfully verified.

[In]

Integrate[(x*Log[c*x^2])/(1 - c*x^2),x]

[Out]

PolyLog[2, 1 - c*x^2]/(2*c)

________________________________________________________________________________________

Maple [A]  time = 0.039, size = 12, normalized size = 0.7 \begin{align*}{\frac{{\it dilog} \left ( c{x}^{2} \right ) }{2\,c}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x*ln(c*x^2)/(-c*x^2+1),x)

[Out]

1/2/c*dilog(c*x^2)

________________________________________________________________________________________

Maxima [B]  time = 1.16461, size = 103, normalized size = 6.06 \begin{align*} -\frac{\log \left (c x^{2} - 1\right ) \log \left (c x^{2}\right )}{2 \, c} + \frac{\log \left (c x^{2} - 1\right ) \log \left (x\right )}{c} + \frac{\log \left (c x^{2} - 1\right ) \log \left (c x^{2}\right ) - 2 \, \log \left (c x^{2} - 1\right ) \log \left (x\right ) +{\rm Li}_2\left (-c x^{2} + 1\right )}{2 \, c} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*log(c*x^2)/(-c*x^2+1),x, algorithm="maxima")

[Out]

-1/2*log(c*x^2 - 1)*log(c*x^2)/c + log(c*x^2 - 1)*log(x)/c + 1/2*(log(c*x^2 - 1)*log(c*x^2) - 2*log(c*x^2 - 1)
*log(x) + dilog(-c*x^2 + 1))/c

________________________________________________________________________________________

Fricas [A]  time = 1.25382, size = 34, normalized size = 2. \begin{align*} \frac{{\rm Li}_2\left (-c x^{2} + 1\right )}{2 \, c} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*log(c*x^2)/(-c*x^2+1),x, algorithm="fricas")

[Out]

1/2*dilog(-c*x^2 + 1)/c

________________________________________________________________________________________

Sympy [C]  time = 8.71021, size = 78, normalized size = 4.59 \begin{align*} \frac{\begin{cases} i \pi \log{\left (x \right )} - \frac{\operatorname{Li}_{2}\left (c x^{2}\right )}{2} & \text{for}\: \left |{x}\right | < 1 \\- i \pi \log{\left (\frac{1}{x} \right )} - \frac{\operatorname{Li}_{2}\left (c x^{2}\right )}{2} & \text{for}\: \frac{1}{\left |{x}\right |} < 1 \\- i \pi{G_{2, 2}^{2, 0}\left (\begin{matrix} & 1, 1 \\0, 0 & \end{matrix} \middle |{x} \right )} + i \pi{G_{2, 2}^{0, 2}\left (\begin{matrix} 1, 1 & \\ & 0, 0 \end{matrix} \middle |{x} \right )} - \frac{\operatorname{Li}_{2}\left (c x^{2}\right )}{2} & \text{otherwise} \end{cases}}{c} - \frac{\log{\left (c x^{2} \right )} \log{\left (c x^{2} - 1 \right )}}{2 c} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*ln(c*x**2)/(-c*x**2+1),x)

[Out]

Piecewise((I*pi*log(x) - polylog(2, c*x**2)/2, Abs(x) < 1), (-I*pi*log(1/x) - polylog(2, c*x**2)/2, 1/Abs(x) <
 1), (-I*pi*meijerg(((), (1, 1)), ((0, 0), ()), x) + I*pi*meijerg(((1, 1), ()), ((), (0, 0)), x) - polylog(2,
c*x**2)/2, True))/c - log(c*x**2)*log(c*x**2 - 1)/(2*c)

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int -\frac{x \log \left (c x^{2}\right )}{c x^{2} - 1}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*log(c*x^2)/(-c*x^2+1),x, algorithm="giac")

[Out]

integrate(-x*log(c*x^2)/(c*x^2 - 1), x)